//
//  DicRequest.h
//  MBObjectServer
//
//  Created by Juvid on 14-3-5.
//  Copyright (c) 2014年 MBpayer. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBBaseServer.h"
typedef  void (^ReceiveSuccess) (NSDictionary *dicReceiveData);
typedef  void (^ReceiveFailure) (NSError *error);
//消息名称定义
//操作日志消息名
#define CONTROLMSG_WEAK_NOTIFICATION @"ControlMsg_weak"
//导购选择消息名
#define GUIDECHOOSE_WEAK_NOTIFICATION @"guidechoose_weak"
@interface DicRequest : NSObject
//查询商品
+(MBBaseServer *)SearchSaleProducts:(NSString *)prodName
                             ProdID:(NSString *)prodID
                           StartNum:(int)startNum
                             EndNum:(int)endNum;
//SKU扫描查询
+(MBBaseServer *)ScanBarCodeIntoBillEntity:(NSString *)BarCode
                                       Qty:(NSString *)Qty
                               ContainerID:(NSString *)ContainerID
                              IsJudgePrice:(NSString *)IsJudgePrice
                                  StartNum:(int)startNum
                                    EndNum:(int)endNum;
//库存查询
+(MBBaseServer *)GetStockJson:(NSString *)OrgCode
                       ProdID:(NSString *)ProdID;
//交易查询
+(MBBaseServer *)RetrieveBillSaleHeads:(NSString *)saleNo
                              StartNum:(int)startNum
                                EndNum:(int)endNum;
//获取小票详情
+(MBBaseServer *)RetrieveBillSale:(NSString *)saleID;

//请求返回结果弹框
+(void)ShowAlert:(NSString *)title Message:(NSString *)message;
//获取用户ID
+(NSString *)GetUserID;


//获取OrgCode
+(NSString *)GetOrgCode;
//获取OrgCode
+(NSString *)GetShopName;

+(NSString *)GetUserName;

+(NSString *)GetShopID;


+(NSString *)GetVIPCode;
@end
